<?php echo $this->fetch('top.html'); ?>
<div id="goods-index-page" data-role="page">
	<div class="wrap">
		<div id="page-goods" class="page-goods"> 
			
			<div class="bar-wrap">
				<div class="top-bar"> <a href="javascript:pageBack();" class="pageback"><span></span></a>
					<h2 class="yahei">商品详情</h2>
					<a href="javascript:;" class="pagemore J_pagemore"><span></span></a> </div>
				<div class="eject-tab J_eject_tab w-full clearfix hidden"> <a href="index.php"> <span></span>
					<p>首页</p>
					</a> <a href="<?php echo url('app=search'); ?>"> <span class="icon2"></span>
					<p>分类搜索</p>
					</a> <a href="<?php echo url('app=cart'); ?>"> <span class="icon3"></span>
					<p>购物车</p>
					</a> <a href="<?php echo url('app=member'); ?>"> <span class="icon4"></span>
					<p>用户中心</p>
					</a> </div>
			</div>
			 
			<?php echo $this->fetch('goodsinfo.html'); ?>
			<div class="btn-fixed">
				<div class="tbl-cell"><a  onclick="buy_now();" class="btn-buy yahei">立刻购买</a></div>
				<div class="tbl-cell"><a  onclick="buy();" class="btn-cart yahei">加入购物车</a></div>
                <div class="tbl-cell"><a  href="<?php echo url('app=cart'); ?>" class="btn-to-cart yahei"><span></span></a></div>
			</div>
		</div>
</div>
</div>
<div data-role="page" id="goods-detail-page">
	<script type="text/javascript">
		$(function(){
			$('.detail-info img').attr('style','max-width:100%;');
		})
	</script>
	<div id="page-goods" class="page-goods">
		
			<div class="bar-wrap">
				<div class="top-bar"> <a href="javascript:pageBack();" class="pageback"><span></span></a>
			<h2 class="yahei">详细介绍</h2>
			<a href="javascript:;" class="pagemore J_pagemore"><span></span></a> </div>
		<div class="eject-tab J_eject_tab w-full clearfix hidden"> <a href="index.php"> <span></span>
			<p>首页</p>
			</a> <a href="<?php echo url('app=search'); ?>"> <span class="icon2"></span>
			<p>分类搜索</p>
			</a> <a href="<?php echo url('app=cart'); ?>"> <span class="icon3"></span>
			<p>购物车</p>
			</a> <a href="<?php echo url('app=member'); ?>"> <span class="icon4"></span>
			<p>用户中心</p>
			</a> </div>
			</div>
			 
		<div class="detail-info padding10"> <?php echo html_filter($this->_var['goods']['description']); ?> </div>
	</div>
</div>
